#pragma once
#include "Wininet.h"

class RtfInternet
{
public:
	RtfInternet(void);
	~RtfInternet(void);

	BOOL Open();
	void Close();

	int SendUrl(const CString& strUrl,CString& strGet);
protected:
	char m_strAgent[64];
	HINTERNET m_hOpen;
	HINTERNET  m_hConnect;

};
